﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Login.ascx.cs" Inherits="UserControl_Login" %>
<div id="Ru-Login">
    <asp:Panel ID="pnlLogin" runat="server" Visible="true">
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <%--<td>登入</td>
        <td>ID</td>
        <td>
            <asp:TextBox ID="txtLoginId" runat="server" CssClass="Log-in"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="請輸入帳號"
                  ControlToValidate="txtLoginId" Display="None" ValidationGroup="Login"></asp:RequiredFieldValidator>
        </td>
        <td>PW</td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="Log-in"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="請輸入密碼"
                  ControlToValidate="txtPassword" Display="None" ValidationGroup="Login"></asp:RequiredFieldValidator>
        </td>
        <td>
            <p><asp:LinkButton ID="btnLogin" runat="server" ValidationGroup="Login" 
                    onclick="btnLogin_Click">LOGIN</asp:LinkButton></p>
        </td>--%>
        <td><a href="login.aspx">會員登入</a> │ <a href="joinmember.aspx">加入會員</a></td>
        <td> │ <a href="forget.aspx">忘記密碼</a></td>
      </tr>
    </table>
    </asp:Panel>
    <asp:Panel ID="pnlLogout" runat="server" Visible="false">
        會員　<asp:Literal ID="ltlName" runat="server"></asp:Literal>　已登入　<asp:LinkButton ID="LinkButton1" runat="server" ValidationGroup="Login" 
                    onclick="btnLogout_Click">會員登出</asp:LinkButton>
    </asp:Panel>

    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Login" 
        ShowMessageBox="True" ShowSummary="False"/>      
  </div>
 